ADP\BaseVersion\Includes\Context C

Total Complexity 108
Dependencies 22
Dependents 149
Total lines 739
Lines of code 372
Logical lines of code 185
Comment lines 136
Methods 68
Properties 19

Methods 68

Method Rating Maintainability Complexity Lines of code
__construct()
A
36 13 78
setUpPricesSettings()
A
46 8 39
isDoingAjaxRefAdmin()
S
65 3 8
setMode()
S
73 3 5
isPluginAdminPage()
S
77 3 3
isProcessingUpdatePlugin()
S
77 3 3
getProp()
S
65 3 10
getGeoLocation()
S
61 2 13
setCurrentUser()
S
74 2 5
isCatalog()
S
78 2 3
isHPOSEnabled()
S
69 2 7
getOption()
S
68 2 7
setProps()
S
70 2 6
isWCStoreAPIRequest()
S
63 2 10
isRequestToRestApi()
S
64 2 9
isWoocommerceProductLoop()
S
74 2 4
fetchAdminQueryProps()
S
72 2 5
fetchQueryProps()
S
72 2 5
isTranslateRules()
S
79 1 3
isCheckParentsWhenFindingProductOnlyRule()
S
79 1 3
isRegisterUpdateCheckoutScript()
S
79 1 3
isRuleSuppressed()
S
79 1 3
isToCompensateTrdPartAdjustmentForFixedPrice()
S
79 1 3
isUseMergedCoupons()
S
79 1 3
isShowBulkTablePricesIncludingCoupons()
S
79 1 3
isUseSelectedShippingMethodsEverywhere()
S
79 1 3
isUseSelectedPaymentMethodEverywhere()
S
79 1 3
getCurrentTheme()
S
82 1 3
isShowPriceRangeInBulkTableForVariableProducts()
S
79 1 3
isGenerateSqlPerRule()
S
79 1 3
isTaxExemptProcessorActive()
S
79 1 3
refreshShippingProcessorWhenNoAppliedRules()
S
79 1 3
loadCurrentTheme()
S
81 1 3
isReplaceProductVariationDataStore()
S
79 1 3
getLanguage()
S
82 1 3
setLanguage()
S
81 1 3
getContainerCompatibilityManager()
S
82 1 3
isBaseVersion()
S
80 1 3
__serialize()
S
82 1 3
isExclusivityRequiresHistoryChange()
S
74 1 4
isProductionMode()
S
80 1 3
isUnpackVariationsWithAnyAttributes()
S
79 1 3
getIsPricesIncludeTax()
S
81 1 3
isWoocommerceShopLoop()
S
78 1 3
isAdpAdminPage()
S
76 1 4
isDoingPhpUnit()
S
80 1 3
getCompatibilityOption()
S
80 1 3
getSettings()
S
82 1 3
getCompatibilitySettings()
S
82 1 3
is()
S
79 1 3
isProductPage()
S
80 1 3
isWoocommerceCouponsEnabled()
S
81 1 3
getCurrentUser()
S
82 1 3
getIsTaxEnabled()
S
81 1 3
getTaxDisplayShopMode()
S
80 1 3
isHideRulesWithoutDiscountInOrderEditPage()
S
79 1 3
getTaxDisplayCartMode()
S
80 1 3
getPriceDecimals()
S
81 1 3
getCurrencyCode()
S
81 1 3
getAvailableTaxClassSlugs()
S
82 1 3
isMode()
S
80 1 3
builder()
S
80 1 3
isDebugMode()
S
80 1 3
handleError()
S
83 1 3
isUserLoggedIn()
S
82 1 3
isUsingGlobalPriceSettings()
S
79 1 3
isAllowExactApplicationOfReplacementCoupon()
S
79 1 3
__unserialize()
S
82 1 3